package com.example.controller.vo;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ResultEnum implements IResult {
    SUCCESS(200, "接口调用成功"),
    VALIDATE_FAILED(201, "参数校验失败"),
    COMMON_FAILED(202, "接口调用失败"),
    UN_AUTH(401, "未登录"),
    FORBIDDEN(403, "没有权限访问资源");

    private Integer code;
    private String message;

}
